*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #f0f0f0;
    font-family: sans-serif;
}
h1{
    text-align: center;
    margin: 50px 0 30px;
}
.faq-container{
    max-width: 600px;
    margin: 0 auto;
}
.faq{
    border: 1px solid #9fa4a8;
    border-radius: 10px;
    margin: 20px 0;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}
.faq.active{
    background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);
    
}
.faq.active::before,
.faq.active::after
{
    content: '\f075';
  font-family: 'Font Awesome 5 Free';
color: #2ecc71;
font-size: 7rem;
position: absolute;
opacity: 0.2;
top: 20px;
left: 20px;
}
/* 把加载之前的那个改个颜色盒位置 */
.faq.active::before{
    color: #3498db;
    top: -10px;
     left: -30px;
     transform: rotateY(180deg);
}
.faq-title{
    margin-right: 30px;
}
.faq-text{
    display: none;
    margin-top: 30px;
}
.faq.active .faq-text{
    display: block;
}
.faq-toggle{
    background: transparent;
    /* background-color: transparent; */
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}
.faq-toggle:focus{
    outline: 0;
}
.faq-toggle .fa-times{
    display: none;
}
.faq.active .faq-toggle .fa-times{
    display: block;
    color: white;
}
.faq.active .faq-toggle .fa-chevron-down{
    display: none;
}
.faq.active .faq-toggle{
    background-color: #9fa4a8;
}



